package com.bto.solar.work.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.sql.Timestamp;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 指派
 * </p>
 *
 * @author adrian
 * @since 2023-09-06
 */
@Getter
@Setter
@Accessors(chain = true)
@ApiModel(value = "Appoint对象", description = "指派")
public class Appoint implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("订单ID")
    private String orderId;

    @ApiModelProperty("订单阶段：	ZZD_YU_SHEN 预审	ZZD_KAN__CHA 勘察	ZZD_SHE_JI 设计	ZZD_SHI_GONG 施工	ZZD_BING_WANG 并网	ZZD_JIE_SUAN 阶段	ZZD_ZHONG_ZHI 终止	ZZD_FINISHED 完成	")
    private String stageId;

    @ApiModelProperty("任务id")
    private String taskId;

    @ApiModelProperty("任务状态id	 	")
    private String stateId;

    @ApiModelProperty("负责人ID")
    private Long userId;

    @TableField(fill = FieldFill.INSERT)
    private Timestamp createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Timestamp updateTime;
}
